package com.springcloud.gateway.props;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @version V1.0
 * @Author 宋聚智
 * @Date 2019/11/4 10:07
 * @description
 * @Modify By：
 * @ModifyTime： 2019/11/4
 * @Modify marker：
 **/

//路由配置类
    @Data
    @RefreshScope
   // @Component
    @ConfigurationProperties("gateway.document")
public class RouteProperties {
    private final List<RouteResource> resourceList=new ArrayList<>();
}
